﻿<?php
if (isset($_POST['heure']) &&   isset($_POST['info']) && isset($_POST['auth']) && isset($_POST['date']) && isset($_POST['soin']))
{
include_once("connect.php");
echo "enregistrement";

mysql_query("INSERT INTO `ap3_sp_rdv`  
VALUES (
NULL , '".mysql_real_escape_string($_POST['date'])."', '".mysql_real_escape_string($_POST['heure'])."', '".mysql_real_escape_string($_POST['auth'])."', '".mysql_real_escape_string($_POST['info'])."','NULL','".mysql_real_escape_string($_POST['soin'])."'
);");

}
header("location: .");


?>

